dosseg
.model small
.stack 100h

.data
str1 db "First string of text.$"
str2 db "more letters for displaying$"
waitmsg db "Press a key to continue...$"

.code
main proc
	mov ax, @data
	mov ds, ax
	;window from r5c5 to r10c50, attribute reverse video
	mov ax, 0700h
	mov bh, 70h
	mov bl, 07h
	mov cx, 0505h
	mov dx, 0A32h
	int 10h
	
	;cursor to r5c5
	mov ah, 02
	mov bh, 0
	mov dx, 0505h
	int 10h

	;display a message
	mov ah, 09
	mov dx, offset str1
	int 21h
	
	;wait for a keystroke
	mov ah, 00
	int 16h
	
	;window from r5c10 to r15c50
	mov ax, 0600h
	mov bh, 10101111b
	mov cx, 050Ah
	mov dx, 0F32h
	int 10h
	
	;message at r12c10, blinking
	mov ah, 02
	mov bh, 0
	mov dx, 0C0Ah
	int 10h
	
	mov ah, 09
	mov dx, offset str2
	int 21h
	
	;wait for keystroke and exit
	mov ah, 00
	int 16h
	
	;clear screen
	mov ax, 0600h
	mov bh, 07h
	mov cx, 0
	mov dh, 24
	mov dl, 79
	int 10h
	
	;put the cursor back
	mov ah, 02
	mov bh, 0
	mov dx, 0100h
	int 10h
	
	mov ah, 4Ch
	int 21h
main endp
end main